package com.azxcrm.framework.config;

import org.activiti.spring.SpringProcessEngineConfiguration;
import org.activiti.spring.boot.ProcessEngineConfigurationConfigurer;
import org.springframework.stereotype.Component;

@Component
public class ActivitiConfig implements ProcessEngineConfigurationConfigurer {
	
	/**
	 * 设置审批流程图的字体
	 */
    @Override
    public void configure(SpringProcessEngineConfiguration processEngineConfiguration) {
    	processEngineConfiguration.setActivityFontName("宋体");
    	processEngineConfiguration.setLabelFontName("宋体");
    	processEngineConfiguration.setAnnotationFontName("宋体");
    }
}